// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
// import router from '../../router/index'
//
// router.beforeEach((to, from, next) => {
//   if (to.matched.length === 0) {
//     from.name ? next({ name: from.name }) : next('/')
//   } else {
//     next()
//   }
// })
/* eslint-disable no-new */
new Vue({
  el: '#app',
  // router,
  template: '<App/>',
  components: { App }
})
